package com.ebring.shareEducation.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "ust_account")
public class Ustaccount implements Serializable {

    @Id
    private String id;  //用户支付id
    private BigDecimal balance; //余额
    private BigDecimal freeze;//冻结金额
    private BigDecimal available;//   可用金额
    private BigDecimal productPoints;//   商品积分
    private BigDecimal consumptionPoints;//   商品积分
    private String userid;//   商品积分
    private String bid;//   虚拟别id



}
